package com.nuanshui.framework.middleware.mq;

import java.util.Date;

 
public class MQMessage {

	
	public MessageType type;//消息类型
	
	public String body;//消息体
	
	private Date consumeTime;//此消息被消费的时间
	
	private boolean isDeadQueue = false;//是否是dead消息队列
	
	
    

	public boolean isDeadQueue() {
		return isDeadQueue;
	}

	public void setDeadQueue(boolean isDeadQueue) {
		this.isDeadQueue = isDeadQueue;
	}

	public Date getConsumeTime() {
		return consumeTime;
	}

	public void setConsumeTime(Date consumeTime) {
		this.consumeTime = consumeTime;
	}

	public MessageType getType() {
		return type;
	}

	public void setType(MessageType type) {
		this.type = type;
	}

	public String getBody() {
		return body;
	}

	public void setBody(String body) {
		this.body = body;
	}
	
	
}
